<?php
$Switcher = $MT_mod_cust['Switcher'];

switch($Switcher->next())
{
	case 'p1':
		echo 'p1';
	break;
	case 'p2':
		echo 'p2';
	break;
	default:
	break;
}
echo $Switcher->next().'<br />';
/*
echo $Switcher->next().'<br />';
echo $Switcher->next().'<br />';
echo $Switcher->next().'<br />';
// echo $Switcher->get(0);
// echo $Switcher->get(1);
*/
// echo $Switcher->url_branch('p1/p2');
?>
<ul>
	<li><a href="<?=$Switcher->url_branch('p1');?>">p1</a></li>
	<li><a href="<?=$Switcher->url_branch('p2');?>">p2</a></li>
	<li><a href="<?=$Switcher->url_branch('p1/p2');?>">s-p1-p2</a></li>
</ul>
<?php
mst_initmod('pictkey');
?>